package com.clstu.enum_;

public class Enumeration {
    public static void main(String[] args) {
        Season spring = new Season("春季", "温暖");
        Season summer = new Season("夏季", "炎热");
        Season autumn = new Season("秋季", "凉爽");
        Season winter = new Season("冬季", "寒冷");
        Season xxxxxx = new Season("谋季","未知");//季节只有4种，没有更多的了
    }
}
class Season{//众所周知，季节只有4种
    private String name;
    private String desc;

    public Season(String name, String desc) {
        this.name = name;
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}